<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="myPolls">
	<table bgcolor="#EEEEEE" class="body" border="0" cellspacing="0" cellpadding="4">
	<tr><td colspan="7" align="center"><b>I tuoi sondaggi</b></td></tr>
	<tr bgcolor="#EEEEEE" height="10px"><td colspan="7" align="center"><img src="/imgs/white_sp.gif" width="75%" height="1" vspace="3" hspace="0"/></td></tr>
	<tr bgcolor="#EEEEEE">
	<td colspan="2">Titolo
	</td>
	<td>Tipo
	</td>
	<td align="center">Votano anche i<br/>non registrati
	</td>
	<td>Modifica
	</td>
	<td>
	</td>
	<td align="center">Elimina<br/>il sondaggio
	</td>
	</tr>
	<xsl:for-each select="row">
		<tr bgcolor="#FFFFFF">
		<td colspan="2"><xsl:value-of select="@title"/>
		</td>
		<td align="center" class="body_10px"><xsl:value-of select="@typetxt"/>
		</td>
		<td align="center"><xsl:value-of select="@anontxt"/>
		</td>
		<td align="center"><a href="/tests/iTestEdit.aspx?pollid={@form}"><img border="0" src="/imgs/modify.gif"/></a>
		</td>
		<td align="center"><a href="/tests/iTestAddAnswers.aspx?pollid={@form}"><img border="0" src="/tests/imgs/addAnswers.gif"/></a>
		</td>
		<td align="center"><a href="/tests/myPolls.aspx?pollid={@form}&amp;delete=1"><img border="0" src="/imgs/delete.gif"/></a>
		</td>
		</tr>
	</xsl:for-each>
	<tr bgcolor="#EEEEEE" height="10px"><td colspan="7" align="center"><img src="/imgs/white_sp.gif" width="75%" height="1" vspace="3" hspace="0"/></td></tr>
	<tr><td colspan="7" align="center"><a href="/tests/iTestCreate.aspx">Crea nuovo sondaggio!</a></td></tr>
	</table>
</xsl:template>

</xsl:stylesheet>